
<ion-view view-title="任务详情">
	<ion-content class="page">
		<div class="mrl10">
			<h4>{{task.property}}【{{task.category}}】</h4>
		</div>
		<div class="D-block line-se ptb10 color-7 l-ha10 bg-f padding mb10">
			<style>
				.task-info-list li{ float:left; }
				.task-info-list li.col3{ width:33% }
				.task-info-list li.col2{ width:50%  }
				.task-info-list li.col1{ width:100%  }
			</style>
			<ul class="task-info-list D-over ">
				<li class="col2">面积:{{task.extend.extend.area.value}} 平方米</li>
				<li class="col2">房型:{{task.extend.extend.house_layout.label}}</li>
				<li class="col2">户型:{{task.extend.extend.house_floor.label}}</li>
				<li class="col2">房屋类型:{{task.extend.extend.house_type.label}}</li>
				<li class="col2">物业楼层:{{task.extend.extend.floor.value}} 楼（层）</li>
				<li class="col2">户主姓名:{{task.realname}} </li>
				<li class="col1">户主电话:{{task.mobile}} <a href="tel:{{task.mobile}}">打电话给TA</a></li>
				<li class="col1">小区名称:{{task.property}}</li>
				<li class="col1">工程地址:{{task.address}}</li>
				<!--<li class="col1">工程进度:{{task.progress}}</li>-->
				<!--<li class="col1">项目地址:{{task.address}}</li>-->
			</ul>
			<div class="clearfix"></div>
		</div>

		<div class="list">
			<a href="#/app/engineer-detail" class="item ">
				工程金额： <i class="color-calm">￥{{task.money}}</i>
			</a>
		</div>

		<ion-slide-box on-slide-changed="slideChanged(index)" show-pager="false">
			<ion-scroll has-bouncing="false" direction="x" id="pictureImg" scrollbar-x="false">
				<div ng-repeat="item in task.picture_url">
					<img ng-src="{{item}}" style="width:180px;height: 120px; padding:5px;" />
				</div>
			</ion-scroll>
		</ion-slide-box>

		<div class="D-block color-5 padding bg-f">
			<h5>工程说明或需求</h5>
			<p>{{task.explain}}</p>
			<!--<p>{{task.info}}</p>-->
			<div class="padding" ng-if="isTender()">
				<button class="button button-block button-calm" ng-click="task_tender()">我要接单</button>
			</div>
			<div class="padding" ng-if="isFavorite()">
				<button class="button button-block button-assertive" ng-click="task_favorite()">{{favoriteTitle}}</button>
			</div>
		</div>
	</ion-content>
</ion-view>